// scaup - Scala up!
// (c) 2008-2010, Normen Müller, normen.mueller@gmail.com  
// $Id: nodes.scala 47 2010-01-12 20:22:35Z normen.mueller $
package scaup.data.graph

import collection._

/** 
 * @author <a href="mailto:normen.mueller@googlemail.com">Normen M&#xFC;ller</a>
 * @version 0.0.5 */
trait INode[V,E] {
  /** The label of this node
   */
  //val label: String
  
  //val τ: Type
  
  /** The incomming edges of this node
   */
  val ↑ = incomming
  val incomming: mutable.Set[E]
  
  /** The outgoing edges of this node
   */
  val ↓ = outgoing
  val outgoing: mutable.Set[E]
  
  /** Edge constructor
   */
  def -> (n: V): E
}